# !/usr/bin/env python
# encoding: utf-8


"""
  @author: gaogao
  @file: verify_number_util.py
  @time: 2021/6/10 17:10
  @desc:
"""


def is_number(s):
    try:
        float(s)
        return True
    except ValueError:
        pass
    try:
        import unicodedata
        unicodedata.numeric(s)
        return True
    except (TypeError, ValueError):
        pass
    return False
